import { spring, http } from '@service/https'

export function getDame() {
  return spring.get<IResult<number[]>>({
    url: '/top/mv'
  })
}
export function getUserLogin(params:{username:string, password:string}) {
  return http.post<IResult<any>>({
    url: '/api/login',
    data: params
  })
}
export function getMusicList() {
  return http.get<IResult<any>>({
    url: '/api/musiclist'
  })
}

// 获取轮播图
export function getBanner() {
  return http.get<IResult<any>>({
    url: '/api/banner'
  })
}
